// Chrome测试版本：133.0.6943.98
const TYPE = "IMAGE";
// const TYPE = "PDF";

function init() {
    console.log('background init');
    chrome.runtime.onInstalled.addListener(() => {
        chrome.storage.sync.set({ type: TYPE });
        console.log(`默认类型: ${TYPE}`);
    });
}
init();